#include #include using namespace std; void powiedz( const char * tekst, int czas ) { cout << tekst << endl; int t = clock(); t += czas; while( clock() < t ){} } bool czy_calkowite( float x ) { int y = x; if( x == y ) return true; return false; } int main() { float x; int a; cout << "Podaj liczbe x." << endl; cin >> x; a = x; if( czy_calkowite( x ) ) { if( a % 10 == 0 ) { cout << a; powiedz( " jest parzyste i podzielne przez 5.", 2000 ); } } return 0; }